package com.dayaokeji.server_api.domain;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Gorden on 2018/3/22.
 */

public class CourseTask implements Serializable{
    private static final long serialVersionUID = -284241629175528568L;


    /**
     "content":"作业内容",
     "createTime":1545306882000,//创建时间
     "createUser":12376,//创建用户
     "describe":"",//描述
     "finishTime":1546444800000,//完成时间
     "id":136,////作业id
     "resourceList":[],//作业图片资源id列表
     "answer":"我的作业答案...", //学生作业答题文本内容
     "score":0.00,//分数
     "uclasswid":5,//学生作业提交ID
     "uclasswstatus":2,//作业状态1.待提交 2.待批阅 3.已批阅
     * userResourceList : [{"id":795,"name":"1522717757317_mark.jpg"},{"id":796,"name":"段-7788520-2018-04-03.jpg"},{"id":797,"name":"sign2.png"}]
     * version : 1
     */
    private String courseId;
    private String content;
    private String createTime;
    private int createUser;
    private String describe;
    private String finishTime;
    private int id;
    private String answer;
    private double score;
    private int uclasswid;
    private int uclasswstatus;
    private int version;
    private List<Integer> resourceList;
    private List<UserResourceListBean> userResourceList;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getCreateUser() {
        return createUser;
    }

    public void setCreateUser(int createUser) {
        this.createUser = createUser;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(String finishTime) {
        this.finishTime = finishTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public int getUclasswid() {
        return uclasswid;
    }

    public void setUclasswid(int uclasswid) {
        this.uclasswid = uclasswid;
    }

    public int getUclasswstatus() {
        return uclasswstatus;
    }

    public void setUclasswstatus(int uclasswstatus) {
        this.uclasswstatus = uclasswstatus;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public List<Integer> getResourceList() {
        return resourceList;
    }

    public void setResourceList(List<Integer> resourceList) {
        this.resourceList = resourceList;
    }

    public List<UserResourceListBean> getUserResourceList() {
        return userResourceList;
    }

    public void setUserResourceList(List<UserResourceListBean> userResourceList) {
        this.userResourceList = userResourceList;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public static class UserResourceListBean {
        /**
         * id : 795
         * name : 1522717757317_mark.jpg
         */

        private int id;
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
